﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ESoft.Core.Web.Utils;
using Microsoft.AspNetCore.Mvc;

namespace ESoft.Portal.Areas.Admin.Controllers
{
    [Area("Admin")]
    public class HomeController : Controller
    {
        public IActionResult Index()
        {
            var user = EnvUtils.GetCurrentUser(HttpContext);
            return View(user);
        }

        public IActionResult Main()
        {
            return View();
        }
    }
}